const ul = document.querySelector(".people")
const people = ['David', 'Julia', 'Tom', 'Jerry']
let html = ``
people.forEach((person, index) => {
html += `<li style="color: purple">${ person } </li>`
})
ul.innerHTML = html